﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Free.Master" Inherits="System.Web.Mvc.ViewPage<AngelCreateViewModel>" %>

<%@ Import Namespace="Pp.Globalization" %>
<%@ Import Namespace="Pp.UI.Models" %>
<%@ Import Namespace="Pp.Dto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <style type="text/css">
        #Description
        {
            width: 205px;
        }
        label
        {
            padding: 3px;
        }
    </style>
    <div id="content-panel">
        <%using (Html.BeginForm())
          {%>
        <%=Html.DropDownList<AngelCreate>(d => d.ProjectId, Res.Label_Project+" :", Model.Projects)%>
        <%=Html.TextBox<AngelCreate>(d => d.Name, Res.Label_Name + ":")%>
        <span>
            <%=Html.TextArea<AngelCreate>(d => d.Description, Res.Label_Description)%></span>
        <%=Html.FileUploader<AngelCreate>(d => d.LogoFile, Res.Label_Proje_Img_Browse,UploadType.Image)%>
        <%=Html.AntiForgeryToken() %>
        <span style="text-align: right;">
            <%=Html.Submit(Res.Label_Save ,false) %></span>
        <%} %>
    </div>
</asp:Content>
